package com.sinosoft.system.primary.entity;

   /**
    * @ClassName SysMenu 实体类
    * @date 2017-2-9 
    * @author shangxp
    */ 

public class SysMenu {
//以下为循环实体类的代码
    //主键
    private int id;
    //菜单名称
    private String menuName;
    //菜单编码
    private String menuCode;
    //菜单URI
    private String menuUri;
    //菜单图片
    private String menuImg;
    //背景颜色
    private String menuBgc;
    //排序
    private int sortno;
    //父菜单
    private int parentId;
    //菜单类型
    private String menuType;

	public SysMenu(){};
	
	public SysMenu(
    		int id,
    		String menuName,
    		String menuCode,
    		String menuUri,
    		String menuImg,
    		String menuBgc,
    		int sortno,
    		int parentId,
    		String menuType
		){
			super();
    		this.id=id;	
    		this.menuName=menuName;	
    		this.menuCode=menuCode;	
    		this.menuUri=menuUri;	
    		this.menuImg=menuImg;	
    		this.menuBgc=menuBgc;	
    		this.sortno=sortno;	
    		this.parentId=parentId;	
    		this.menuType=menuType;	
	};

    public int getId(){
        return id;
    }
    public void setId (int id){
        this.id = id;
    }
    public String getMenuName(){
        return menuName;
    }
    public void setMenuName (String menuName){
        this.menuName = menuName;
    }
    public String getMenuCode(){
        return menuCode;
    }
    public void setMenuCode (String menuCode){
        this.menuCode = menuCode;
    }
    public String getMenuUri(){
        return menuUri;
    }
    public void setMenuUri (String menuUri){
        this.menuUri = menuUri;
    }
    public String getMenuImg(){
        return menuImg;
    }
    public void setMenuImg (String menuImg){
        this.menuImg = menuImg;
    }
    public String getMenuBgc(){
        return menuBgc;
    }
    public void setMenuBgc (String menuBgc){
        this.menuBgc = menuBgc;
    }
    public int getSortno(){
        return sortno;
    }
    public void setSortno (int sortno){
        this.sortno = sortno;
    }
    public int getParentId(){
        return parentId;
    }
    public void setParentId (int parentId){
        this.parentId = parentId;
    }
    public String getMenuType(){
        return menuType;
    }
    public void setMenuType (String menuType){
        this.menuType = menuType;
    }

	@Override
	public String toString() {
		return "SysMenu ["
		+"  id=" + id 
		+"  menuName=" + menuName 
		+"  menuCode=" + menuCode 
		+"  menuUri=" + menuUri 
		+"  menuImg=" + menuImg 
		+"  menuBgc=" + menuBgc 
		+"  sortno=" + sortno 
		+"  parentId=" + parentId 
		+"  menuType=" + menuType 
		+"]";		
	}
}